package edu.zju.gis.dbfg.model.base;

public class CrsPick {
    public static String pickByName(String name){
        switch (name){
            case "4326":
                return "GEOGCS[\"GCS_WGS_1984\", \n" +
                        "  DATUM[\"D_WGS_1984\", \n" +
                        "    SPHEROID[\"WGS_1984\", 6378137.0, 298.257223563]], \n" +
                        "  PRIMEM[\"Greenwich\", 0.0], \n" +
                        "  UNIT[\"degree\", 0.017453292519943295], \n" +
                        "  AXIS[\"Longitude\", EAST], \n" +
                        "  AXIS[\"Latitude\", NORTH]]";

            case "3857":
                return "PROJCS[\"WGS_1984_Web_Mercator_Auxiliary_Sphere\", \n" +
                        "  GEOGCS[\"GCS_WGS_1984\", \n" +
                        "    DATUM[\"D_WGS_1984\", \n" +
                        "      SPHEROID[\"WGS_1984\", 6378137.0, 298.257223563]], \n" +
                        "    PRIMEM[\"Greenwich\", 0.0], \n" +
                        "    UNIT[\"degree\", 0.017453292519943295], \n" +
                        "    AXIS[\"Longitude\", EAST], \n" +
                        "    AXIS[\"Latitude\", NORTH]], \n" +
                        "  PROJECTION[\"Popular Visualisation Pseudo Mercator\"], \n" +
                        "  PARAMETER[\"semi_minor\", 6378137.0], \n" +
                        "  PARAMETER[\"latitude_of_origin\", 0.0], \n" +
                        "  PARAMETER[\"central_meridian\", 0.0], \n" +
                        "  PARAMETER[\"scale_factor\", 1.0], \n" +
                        "  PARAMETER[\"false_easting\", 0.0], \n" +
                        "  PARAMETER[\"false_northing\", 0.0], \n" +
                        "  UNIT[\"m\", 1.0], \n" +
                        "  AXIS[\"x\", EAST], \n" +
                        "  AXIS[\"y\", NORTH]]";
            case "4528":
                return  "PROJCS[\"CGCS2000_3_Degree_GK_Zone_40\", \n" +
                        "  GEOGCS[\"GCS_China_Geodetic_Coordinate_System_2000\", \n" +
                        "    DATUM[\"D_China_2000\", \n" +
                        "      SPHEROID[\"CGCS2000\", 6378137.0, 298.257222101]], \n" +
                        "    PRIMEM[\"Greenwich\", 0.0], \n" +
                        "    UNIT[\"degree\", 0.017453292519943295], \n" +
                        "    AXIS[\"Longitude\", EAST], \n" +
                        "    AXIS[\"Latitude\", NORTH]], \n" +
                        "  PROJECTION[\"Transverse_Mercator\"], \n" +
                        "  PARAMETER[\"central_meridian\", 120.0], \n" +
                        "  PARAMETER[\"latitude_of_origin\", 0.0], \n" +
                        "  PARAMETER[\"scale_factor\", 1.0], \n" +
                        "  PARAMETER[\"false_easting\", 40500000.0], \n" +
                        "  PARAMETER[\"false_northing\", 0.0], \n" +
                        "  UNIT[\"m\", 1.0], \n" +
                        "  AXIS[\"x\", EAST], \n" +
                        "  AXIS[\"y\", NORTH]]";
            default:
                return null;
        }
    }
}
